﻿using KingsSharp.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Admin.Contracts.Model.Customer
{
    /// <summary>
    /// 顾客协议
    /// </summary>
    public class CustomerAgreement:EntityBase<Guid>
    {
        /// <summary>
        /// 销售品种
        /// </summary>
        public string ProdName { get; set; }
        /// <summary>
        /// 年份
        /// </summary>
        public int Year { get; set; }
        /// <summary>
        /// 月份
        /// </summary>
        public int moth { get; set; }
        /// <summary>
        /// 协议量
        /// </summary>
        public decimal ProtocolQuantity { get; set; }
        /// <summary>
        /// 完成量
        /// </summary>
        public decimal CompletionQuantity { get; set; }
        /// <summary>
        /// 顾客ID
        /// </summary>
        public Guid CustomerId { get; set; }

        /// <summary>
        /// 顾客
        /// </summary>
        public virtual Customer Customer { get; set; }
    }
}
